package cn.javadog.cloud.starter.jsonfilter.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashSet;

/**
 * @author yuy
 * @date 2020/11/9 10:07
 * @desc 存储待处理类的对象及待过滤字段信息
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class JsonFilterObject {

    private Object data;

    private boolean exclude;

    private Class<?> clazz;

    private HashSet<String> fields = new HashSet<>();

}
